package hu.mapro.flang.gwt.domain.server.entities;

import hu.mapro.flang.gwt.domain.shared.enums.Privilege;
import hu.mapro.model.LongId;

import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.entity.RooJpaEntity;

@RooJavaBean
@RooJpaEntity
public class UserPrivilege implements LongId {
	 
	@ManyToOne(fetch=FetchType.LAZY)
	User user;
	
	Privilege privilege;
	
}
